package com.xmb.wcapi.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author huangping
 * @since 2020-03-04
 */
@TableName("sys_menu")
public class SysMenu extends Model<SysMenu> {

    private static final long serialVersionUID = 1L;

    private String id;
    @TableField("menu_name")
    private String menuName;
    @TableField("supper_id")
    private String supperId;
    @TableField("menu_type")
    private String menuType;
    @TableField("menu_url")
    private String menuUrl;
    @TableField("menu_icon")
    private String menuIcon;
    @TableField("order_by_index")
    private String orderByIndex;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getSupperId() {
        return supperId;
    }

    public void setSupperId(String supperId) {
        this.supperId = supperId;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public String getOrderByIndex() {
		return orderByIndex;
	}

	public void setOrderByIndex(String orderByIndex) {
		this.orderByIndex = orderByIndex;
	}

	@Override
	public Serializable pkVal() {
        return this.id;
    }

    @Override
	public String toString() {
		return "SysMenu [id=" + id + ", menuName=" + menuName + ", supperId=" + supperId + ", menuType=" + menuType
				+ ", menuUrl=" + menuUrl + ", menuIcon=" + menuIcon + ", orderByIndex=" + orderByIndex + "]";
	}
}
